package com.heima.schedule.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.schedule.dtos.Task;
public interface TaskService  {



    public long addTask(Task task);

   /*
   * 删除任务
   * */
    public boolean deleteTask(Long taskId);


    /*
    *
    * 按照类型和优先级拉去任务
    * */
    public Task pull(int Type,int Priority);

}
